package com.hst.web.base.ui;

import java.sql.Timestamp;

import com.hst.core.meta.MetaData;
import com.hst.core.meta.annotation.EField;
import com.hst.core.meta.annotation.EInfo;
import com.hst.core.meta.annotation.FieldQuery;
import com.hst.web.base.entity.TPersoneltransferInfo;
import com.hst.web.base.proxy.PersonItransferContProxy;

@EInfo(name = "person-itrans-cont",title="人员转承包商申请", entity = TPersoneltransferInfo.class,proxy=PersonItransferContProxy.class)
public class PersonItransCont extends MetaData{
	
	@EField(name = "id", list = false, form = 0)
	private String id;

	@EField(name = "employeeCode", title="姓名", list = false, editor="select.contractor-employee", validate="required")
	private String employeeCode;
	
	@EField(mapped = false, name = "fullname", title = "姓名", form=0, query = FieldQuery.LIKE, validate = "required|max:100")
	private String fullname;
	
	@EField(name = "companycodeOld",title="原公司",form=3,editor="select.company-all",viewer="dict.company-all")
	private String companycodeOld;

	@EField(name = "contractorCodeOld",title="原承包商",form=3,editor="select.contractor-all",viewer="dict.contractor-all")
	private String contractorCodeOld;

	@EField(name = "deptCodeOld",title="原部门",form=0,list=false)
	private String deptCodeOld;

	@EField(name = "companyCode",title="转入公司",editor="select.company-all",viewer="dict.company-all",validate="required")
	private String companyCode;

	@EField(name = "contractorCode",title="转入承包商",list=false,form=0)
	private String contractorCode;

	@EField(name = "deptCode",title="转入部门",form=0,list=false)
	private String deptCode;

	@EField(name = "transStatus",title="申请状态",form=3,editor="select.transStatus",viewer="dict.transStatus",query=FieldQuery.EQ)
	private String transStatus;

	@EField(name = "refuseReason", title = "拒绝原因意见",form=0)
	private String refuseReason;

	@EField(name = "acceptTime", title = "接收时间",form=0)
	private Timestamp acceptTime;

	@EField(name = "acceptUserid", title = "接收人",form=0)
	private String acceptUserid;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getEmployeeCode() {
		return employeeCode;
	}

	public void setEmployeeCode(String employeeCode) {
		this.employeeCode = employeeCode;
	}

	public String getCompanycodeOld() {
		return companycodeOld;
	}

	public void setCompanycodeOld(String companycodeOld) {
		this.companycodeOld = companycodeOld;
	}

	public String getContractorCodeOld() {
		return contractorCodeOld;
	}

	public void setContractorCodeOld(String contractorCodeOld) {
		this.contractorCodeOld = contractorCodeOld;
	}

	public String getDeptCodeOld() {
		return deptCodeOld;
	}

	public void setDeptCodeOld(String deptCodeOld) {
		this.deptCodeOld = deptCodeOld;
	}

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public String getContractorCode() {
		return contractorCode;
	}

	public void setContractorCode(String contractorCode) {
		this.contractorCode = contractorCode;
	}

	public String getDeptCode() {
		return deptCode;
	}

	public void setDeptCode(String deptCode) {
		this.deptCode = deptCode;
	}

	public String getTransStatus() {
		return transStatus;
	}

	public void setTransStatus(String transStatus) {
		this.transStatus = transStatus;
	}

	public String getRefuseReason() {
		return refuseReason;
	}

	public void setRefuseReason(String refuseReason) {
		this.refuseReason = refuseReason;
	}

	public Timestamp getAcceptTime() {
		return acceptTime;
	}

	public void setAcceptTime(Timestamp acceptTime) {
		this.acceptTime = acceptTime;
	}

	public String getAcceptUserid() {
		return acceptUserid;
	}

	public void setAcceptUserid(String acceptUserid) {
		this.acceptUserid = acceptUserid;
	}
}
